<?php
	
	require_once "trackingModify.php";

	$arrID = $_POST['showItems'];
	
	
	$cItems = new CItems;
	
	$note = "";
	
	$isSuccess  = 0;
	foreach ($arrID as $key => $value)
	{
		$isSuccess = $cItems ->CItemsDelete($value);
	}
	
	if($isSuccess > 0)
	{
		echo '<script language="javascript">window.location.href="main.php?jmp=items&to=idbview&notification=ITEM_ACTION_DEL_SUCCESS"</script>';  
	}
	else
	{
		
			echo '<script language="javascript">window.location.href="main.php?jmp=items&to=idbview&notification=XXXX_ACTION_TO_SERVER"</script>';  		
		
	}	
	
?>